package com.yqjr.risk.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yqjr.risk.dao.IOtherNetLoanWebDao;
import com.yqjr.risk.pojo.OtherNetLoanWeb;
import com.yqjr.risk.pojo.OtherNetLoanWebExample;
import com.yqjr.risk.service.IOtherNetLoanWebService;

@Service("otherNetLoanWebService")
public class OtherNetLoanWebServiceImpl implements IOtherNetLoanWebService{
	@Resource
	private IOtherNetLoanWebDao otherNetLoanWebDao;

	@Override
	public int countByExample(OtherNetLoanWebExample example) {
		int count = this.otherNetLoanWebDao.countByExample(example);
		return count;
	}

	@Override
	public int deleteByExample(OtherNetLoanWebExample example) {
		int count = this.otherNetLoanWebDao.deleteByExample(example);
		return count;
	}

	@Override
	public int deleteByPrimaryKey(Integer id) {
		int count = this.otherNetLoanWebDao.deleteByPrimaryKey(id);
		return count;
	}

	@Override
	public int insert(OtherNetLoanWeb record) {
		int count = this.otherNetLoanWebDao.insert(record);
		return count;
	}

	@Override
	public int insertSelective(OtherNetLoanWeb record) {
		int count = this.otherNetLoanWebDao.insertSelective(record);
		return count;
	}

	@Override
	public List<OtherNetLoanWeb> selectByExample(OtherNetLoanWebExample example) {
		return this.otherNetLoanWebDao.selectByExample(example);
	}

	@Override
	public OtherNetLoanWeb selectByPrimaryKey(Integer id) {
		return this.otherNetLoanWebDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(OtherNetLoanWeb record,
			OtherNetLoanWebExample example) {
		return this.otherNetLoanWebDao.updateByExample(record, example);
	}

	@Override
	public int updateByExample(OtherNetLoanWeb record,
			OtherNetLoanWebExample example) {
		return this.otherNetLoanWebDao.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(OtherNetLoanWeb record) {
		return this.otherNetLoanWebDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(OtherNetLoanWeb record) {
		return this.otherNetLoanWebDao.updateByPrimaryKey(record);
	}

	@Override
	public List<OtherNetLoanWeb> queryAll(Map<String, String> map) {
		return this.otherNetLoanWebDao.queryAll(map);
	}
	
}